package com.wangshidai.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

//自定义的异常处理类，专门用于在服务层业务条件不符合时处理的
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusinessException extends Exception{
    private String message;
}
